#!/usr/bin/env python3
# coding=utf-8
'''
说明：传入长度，生成字符串
'''
str=''
chars='x'
for i in range(20):
    str+=chars
print(str)
print(len(str))